Mp3Play
 properties
 commands
 events
 error
Picture
 commands

AboutBox ( ) shows about box

Authorize ( Name, Password ) enter the license name and password
OK ReturnValue = 0 else 5

ReturnValue = Mp3Play1.Authorize(ôPasswordö, ôKeywordö)

Open ( Inputfile, Outputfile ) opens mpeg audio file.
If playback on sound card then outputfile = ôö
If write as wave file then outputfile = wavefile name
returned 0 if OK else
Errorcode

ReturnValue = Mp3Play1.Open(ôC:\Song.mp3ö, "")
or
ReturnValue = Mp3Play1.Open(ôC:\Song.mp3ö, "C:\Song.wav")

Close: Closed the mp3-file

ChannelMode: 0-stereo, 1-left, 2-right, 3-mono.

GetVolumeLeft,GetVolumeRight: Returned System Wave volume as long ( 0 - 65536 ).

GetVolumeLeftP,GetVolumeRightP: Returned System Wave volume as percent ( 0 - 100 ).

SetVolume: Set the System Wave volume ( left channel, right channel ) long. ( 0- 65536 )

ReturnValue = Mp3Play1.SetVolume(32768,32768)

SetVolumeP: Set the System Wave volume ( left channel, right channel ) integer ( 0 - 100 ).

ReturnValue = Mp3Play1.SetVolumeP(50, 50)

Pause ( ) Toggle to Pause-Mode 1. time pause, 2. time play

Play ( ) Start Decoder-Thread.
If OK ReturnValue = 0

Stop ( ) Stop playback and decoding.
Returned 0 if OK, else
Errorcode.

SetErrorMode (Errormode ) SetErrorMode() set the error handling.
If Errormode = 0 then return = errorcode
If Errormode <> 0 then error return
COleControl::FireError ( ) or
COleControl::ThrowError ( )


Seek ( Frame ) Seek to frame

ReturnValue = Mp3Play1.Seek( 0 )


[Mp3Play] [Manual]